package cn.iocoder.yudao.module.jifenyuan.controller.admin.room.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 记分员 房间分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RoomPageReqVO extends PageParam {

    @Schema(description = "房间名称", example = "李四")
    private String roomName;

    @Schema(description = "房间管理员id", example = "27206")
    private Long leaderId;

    @Schema(description = "邀请码")
    private String inviteCode;

    @Schema(description = "房间状态", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "观察码")
    private String observerCode;

    @Schema(description = "房间类型", example = "1")
    private Integer type;

}
